package com.UnionPayCenter.mapper;

import com.UnionPayCenter.base.MyMapper;
import com.UnionPayCenter.entity.ShopCardInfoEntity;
import com.UnionPayCenter.entity.ShopInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ShopCardInfoMapper extends MyMapper<ShopCardInfoEntity> {

    ShopCardInfoEntity selectByShop(@Param("shopId") Integer shopId);

    List<ShopCardInfoEntity> selectCardList(@Param("shopId")Integer shopId);
}
